#define _CRT_SECURE_NO_WARNINGS 1

#include "SeqList.h"

int main()
{
	SeqList ps;
	SeqListInit(&ps);
	SeqListPushBack(&ps, 0);
	SeqListPushBack(&ps, 1);
	SeqListPushBack(&ps, 2);
	SeqListPushBack(&ps, 3);
	SeqListPushBack(&ps, 4);
	SeqListPushBack(&ps, 5);
	SeqListPushBack(&ps, 6);
	SeqListPushBack(&ps, 7);
	SeqListPushBack(&ps, 8);
	SeqListPrint(&ps);
	SeqListPushFront(&ps, 1);
	SeqListPushFront(&ps, 1);
	SeqListPushFront(&ps, 1);
	SeqListPushFront(&ps, 1);
	SeqListPushFront(&ps, 1);
	SeqListPrint(&ps);
	SeqListPopFront(&ps);
	SeqListPopFront(&ps);
	SeqListPopFront(&ps);
	SeqListPopFront(&ps);
	SeqListPopFront(&ps);
	SeqListPrint(&ps);
	SeqListFind(&ps, 5);
	SeqListInsert(&ps, 0, 9);
	SeqListPrint(&ps);
	SeqListErase(&ps, 9);
	SeqListPrint(&ps);

}